﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    Funtion ft = new Funtion();
    protected void Page_Load(object sender, EventArgs e)
    {
        imgBanner.Src = "images/Image/header_images.jpg";
        lblTitle.Text = ft.LoadNews("N02").Title.ToString();
        lblNews1.Text = ft.LoadNews("N02").NewsFile.ToString();
        lblTitle0.Text = ft.LoadNews("N03").Title.ToString();
        lblNews2.Text = ft.LoadNews("N03").NewsFile.ToString();
    }
}
